
<section class="content">
  <div class="box box-danger">
    <div class="box-header with-border">
      <h3 class="box-title">查询条件</h3>
      <div class="box-tools">
        <div class="box-tools pull-right">
          <button type="button" class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-minus"></i>
          </button>
        </div>
      </div>
    </div>
    <div class="box-body">
      <div class="row">
        <div class="col-md-3">
          <div class="form-group">
            <input type="text" class="form-control" name="name" ng-model="search.code" placeholder="档案号">
          </div>
        </div>
        <div class="col-md-3">
          <a class="btn btn-sm btn-info btn-flat" ng-click="query()">查询</a>
        </div>
      </div>
    </div>
  </div>

  <div class="box box-danger">
    <div class="box-body table-responsive no-padding">
      <table class="table table-hover">
        <tbody>
          <tr>
            <th style="width: 10px">#</th>
            <th style="width: 80px">档案号</th>
            <th>订单名称</th>
            <th>收件数</th>
            <th>寄件数</th>
            <th>现有信件总数</th>
            <th>计入库存数（收件）</th>            
            <th>计入库存数（寄件）</th>
            <th>现有库存总数</th>
          </tr>
          <tr ng-repeat="item in data.items">
            <td ng-bind="($index+1)+'.'"></td>
            <td ng-bind="item.order_code"></td>
            <td ng-bind="item.order_name"></td>
            <td ng-bind="item.inbox_qty"></td>
            <td ng-bind="item.outbox_qty"></td>
            <td ng-bind="item.diff_qty"></td>
            <td ng-bind="item.inbox_stockQty"></td>
            <td ng-bind="item.outbox_stockQty"></td>
            <td ng-bind="item.diff_stockQty"></td>
          </tr>
        </tbody>
      </table>
    </div>
  </div>
</section>